package com.tanhua.dubbo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(value = "test_question")
public class Questions implements Serializable {

    private ObjectId id;    //试题 id
    private String question;//问题
    private Integer star; //星别（例如：2颗星，3颗星，5颗星）
    private List<Map<String, String>> options;//选项a:b:c
    //根据选择答案给能力方面得分
    private List<Map<String,Integer>> sideScores;
    private Long created;
}
